import { Input } from 'antd';

export default (props: any) => {
  let { placeholder = '请输入', isError = false, value, ...otherProps } = props;

  return <Input placeholder={placeholder} value={value} {...otherProps} />;
};